<template>
  <div>
    <p>祖先传值：{{ name }}</p>
  </div>
</template>
<script>
export default {
  inject: ['name'],
  data () {
    return {

    }
  }
}
</script>
